<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: QwtLogTransform Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_qwt_log_transform.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="class_qwt_log_transform-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QwtLogTransform Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Logarithmic transformation.  
 <a href="class_qwt_log_transform.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__transform_8h_source.html">qwt_transform.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtLogTransform:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="class_qwt_log_transform__inherit__graph.svg" width="136" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae38156a50ab292af9638a78a374c30ff"><td class="memItemLeft" align="right" valign="top"><a id="ae38156a50ab292af9638a78a374c30ff"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_log_transform.html#ae38156a50ab292af9638a78a374c30ff">QwtLogTransform</a> ()</td></tr>
<tr class="memdesc:ae38156a50ab292af9638a78a374c30ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:ae38156a50ab292af9638a78a374c30ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39296a96bd30f5ea8f22cb79456c23f0"><td class="memItemLeft" align="right" valign="top"><a id="a39296a96bd30f5ea8f22cb79456c23f0"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_log_transform.html#a39296a96bd30f5ea8f22cb79456c23f0">~QwtLogTransform</a> ()</td></tr>
<tr class="memdesc:a39296a96bd30f5ea8f22cb79456c23f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a39296a96bd30f5ea8f22cb79456c23f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c722dbcd68add23628d3191c03346d5"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_log_transform.html#a6c722dbcd68add23628d3191c03346d5">transform</a> (double value) const override</td></tr>
<tr class="separator:a6c722dbcd68add23628d3191c03346d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b209d782f57dc8bf6ae3bc2a6680069"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_log_transform.html#a4b209d782f57dc8bf6ae3bc2a6680069">invTransform</a> (double value) const override</td></tr>
<tr class="separator:a4b209d782f57dc8bf6ae3bc2a6680069"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afeee475bc51d03c3ca4049879fe01c39"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_log_transform.html#afeee475bc51d03c3ca4049879fe01c39">bounded</a> (double value) const override</td></tr>
<tr class="separator:afeee475bc51d03c3ca4049879fe01c39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e2c116456ff39904d15bf84ee9758e2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_qwt_transform.html">QwtTransform</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_log_transform.html#a4e2c116456ff39904d15bf84ee9758e2">copy</a> () const override</td></tr>
<tr class="separator:a4e2c116456ff39904d15bf84ee9758e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_qwt_transform"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_transform')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_qwt_transform.html">QwtTransform</a></td></tr>
<tr class="memitem:aa1fa1ab21d0fc01e06d3a6e462008d0b inherit pub_methods_class_qwt_transform"><td class="memItemLeft" align="right" valign="top"><a id="aa1fa1ab21d0fc01e06d3a6e462008d0b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_transform.html#aa1fa1ab21d0fc01e06d3a6e462008d0b">QwtTransform</a> ()</td></tr>
<tr class="memdesc:aa1fa1ab21d0fc01e06d3a6e462008d0b inherit pub_methods_class_qwt_transform"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:aa1fa1ab21d0fc01e06d3a6e462008d0b inherit pub_methods_class_qwt_transform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2653db3104e672464dc569592fc14ab inherit pub_methods_class_qwt_transform"><td class="memItemLeft" align="right" valign="top"><a id="aa2653db3104e672464dc569592fc14ab"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_transform.html#aa2653db3104e672464dc569592fc14ab">~QwtTransform</a> ()</td></tr>
<tr class="memdesc:aa2653db3104e672464dc569592fc14ab inherit pub_methods_class_qwt_transform"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:aa2653db3104e672464dc569592fc14ab inherit pub_methods_class_qwt_transform"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a0a34d790bb83966c9649b54f719d8f85"><td class="memItemLeft" align="right" valign="top"><a id="a0a34d790bb83966c9649b54f719d8f85"></a>
static const double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_log_transform.html#a0a34d790bb83966c9649b54f719d8f85">LogMin</a> = 1.0e-150</td></tr>
<tr class="memdesc:a0a34d790bb83966c9649b54f719d8f85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Smallest allowed value for logarithmic scales: 1.0e-150. <br /></td></tr>
<tr class="separator:a0a34d790bb83966c9649b54f719d8f85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0501a8e7fe5215e2beab7e08e4a26cf8"><td class="memItemLeft" align="right" valign="top"><a id="a0501a8e7fe5215e2beab7e08e4a26cf8"></a>
static const double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_log_transform.html#a0501a8e7fe5215e2beab7e08e4a26cf8">LogMax</a> = 1.0e150</td></tr>
<tr class="memdesc:a0501a8e7fe5215e2beab7e08e4a26cf8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Largest allowed value for logarithmic scales: 1.0e150. <br /></td></tr>
<tr class="separator:a0501a8e7fe5215e2beab7e08e4a26cf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Logarithmic transformation. </p>
<p><a class="el" href="class_qwt_log_transform.html" title="Logarithmic transformation.">QwtLogTransform</a> modifies the values using log() and exp().</p>
<dl class="section note"><dt>Note</dt><dd>In the calculations of <a class="el" href="class_qwt_scale_map.html" title="A scale map.">QwtScaleMap</a> the base of the log function has no effect on the mapping. So <a class="el" href="class_qwt_log_transform.html" title="Logarithmic transformation.">QwtLogTransform</a> can be used for log2(), log10() or any other logarithmic scale. </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__transform_8h_source.html#l00100">100</a> of file <a class="el" href="qwt__transform_8h_source.html">qwt_transform.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="afeee475bc51d03c3ca4049879fe01c39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afeee475bc51d03c3ca4049879fe01c39">&#9670;&nbsp;</a></span>bounded()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double QwtLogTransform::bounded </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>Value to be bounded </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>qBound( LogMin, value, LogMax ) </dd></dl>

<p>Reimplemented from <a class="el" href="class_qwt_transform.html#aef97acf17f900905f2a93cec7f61e643">QwtTransform</a>.</p>

<p class="definition">Definition at line <a class="el" href="qwt__transform_8cpp_source.html#l00106">106</a> of file <a class="el" href="qwt__transform_8cpp_source.html">qwt_transform.cpp</a>.</p>

</div>
</div>
<a id="a4e2c116456ff39904d15bf84ee9758e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e2c116456ff39904d15bf84ee9758e2">&#9670;&nbsp;</a></span>copy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_transform.html">QwtTransform</a> * QwtLogTransform::copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Clone of the transformation </dd></dl>

<p>Implements <a class="el" href="class_qwt_transform.html#aae011ee4205fa4391459766d88971809">QwtTransform</a>.</p>

<p class="definition">Definition at line <a class="el" href="qwt__transform_8cpp_source.html#l00112">112</a> of file <a class="el" href="qwt__transform_8cpp_source.html">qwt_transform.cpp</a>.</p>

</div>
</div>
<a id="a4b209d782f57dc8bf6ae3bc2a6680069"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b209d782f57dc8bf6ae3bc2a6680069">&#9670;&nbsp;</a></span>invTransform()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double QwtLogTransform::invTransform </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>Value to be transformed </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>exp( value ) </dd></dl>

<p>Implements <a class="el" href="class_qwt_transform.html#a5cfb0a329b8418028baf6974b188d76b">QwtTransform</a>.</p>

<p class="definition">Definition at line <a class="el" href="qwt__transform_8cpp_source.html#l00097">97</a> of file <a class="el" href="qwt__transform_8cpp_source.html">qwt_transform.cpp</a>.</p>

</div>
</div>
<a id="a6c722dbcd68add23628d3191c03346d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c722dbcd68add23628d3191c03346d5">&#9670;&nbsp;</a></span>transform()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double QwtLogTransform::transform </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>Value to be transformed </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>log( value ) </dd></dl>

<p>Implements <a class="el" href="class_qwt_transform.html#a1093b5856cbc6cf812460535442fb130">QwtTransform</a>.</p>

<p class="definition">Definition at line <a class="el" href="qwt__transform_8cpp_source.html#l00088">88</a> of file <a class="el" href="qwt__transform_8cpp_source.html">qwt_transform.cpp</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_qwt_log_transform.html">QwtLogTransform</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
